<?
$tmppath="../../";
REQUIRE ($tmppath."include/login.php");
REQUIRE ($tmppath.$templates."up.php");
REQUIRE($tmppath."protect/connect_jeu.php");

IF (empty($_USER_PERSO) || $_USER_PERSO==0){
    EXIT;
}
    
$query="SELECT ville_id  FROM sdville WHERE ville_proprio=$_USER_PERSO";
//0 = id 1 = sujet 2 origine 3 =date
$resultat=mysql_query($query);
$i=0;
WHILE ($tmp=mysql_fetch_array($resultat)){
      $VILLE[$i]="message_loc=$tmp[0]";
      $i++;
}//Fin du  WHILE ($tmp=mysql_fetch_array($resultat)){

$tmp_query=implose()



$query="SELECT V.message_id, V.messaget_titre, V.message_date FROM sdm_ville AS V, sduser_perso AS U WHERE _destinataire=$userperso ORDER BY rapport_date";

//0 = id 1 = sujet 2 origine 3 =date 4=lu
$resultat=mysql_query($query);


?>
